﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GIMS.MODEL;
using KPIS.GERP.GIMS.DAL;
using KPIS.GERP.GIMS.DALFactory;

namespace KPIS.GERP.GIMS.BLL
{
    public class CollectRequestBLL
    {
        private static readonly CollectRequestDAL dal = DataAccess.CreateCollectRequest();

        public CollectRequestBLL()
        {

        }

        public void CollectRequestItem(string ppr_seq_text, IList<int> infoPprItemList, DateTime pr_date, string pr_name,
            string pr_reason, int pc_rule_seq, int ppr_type_seq, int pc_type_seq, int year_type_seq,
            int bgm_year, DateTime? req_date, Nullable<int> req_duration, Nullable<int> dur_type_seq, Nullable<int> dur_count_seq,
            int pr_emp_seq)
        {
            dal.CollectRequestItem(ppr_seq_text, infoPprItemList, pr_date, pr_name,
            pr_reason, pc_rule_seq, ppr_type_seq, pc_type_seq, year_type_seq,
            bgm_year, req_date, req_duration, dur_type_seq, dur_count_seq,
            pr_emp_seq);
        }
    }
}
